package com.atguigu.spzx.model.dto.product;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * @author LT
 * @create 2024-03-17-11:45
 */
@Data
public class CategoryExcelDTO {
    @ExcelProperty(value = "id" , index = 0)
    private Long id;
    @ExcelProperty(value = "名称" , index = 1)

    /**
     * 分类名称
     */
    private String name;

    @ExcelProperty(value = "图片url" , index = 2)
    /**
     *
     */
    private String imageUrl;
    @ExcelProperty(value = "上级id" , index = 3)

    /**
     * 父分类id
     */
    private Long parentId;
    @ExcelProperty(value = "状态" , index = 4)

    /**
     * 是否显示[0-不显示，1显示]
     */
    private Integer status;
    @ExcelProperty(value = "排序" , index = 5)

    /**
     * 排序
     */
    private Integer orderNum;
}
